import { http, yxglIp, fysqIp} from '../../Api/http'

/**
 * @description: 财务管理
 * @author: xiaoxujs
 */
//押金信息概览
export const getSofCashOverviewCash= (data) => {
    const url = yxglIp + '/sof-cash/overview/cash'
    return http(url, 'get', data)
}
//押金列表
export const postSofCashFindCash= (data) => {
    const url = yxglIp + '/sof-cash/find/cash'
    return http(url, 'post', data)
}
//押金退款
export const postSofCashRefundCash= (data) => {
    const url = yxglIp + '/sof-cash/refund/cash'
    return http(url, 'post', data)
}
//扣款信息列表
export const getSofCashFindDeduct= (data) => {
    const url = yxglIp + '/sof-cash/find/deduct'
    return http(url, 'get', data)
}
//扣款信息列表
export const putSofCashInsertDeduct= (data) => {
    const url = yxglIp + '/sof-cash/insert/deduct'
    return http(url, 'put', data)
}
//押金登记到账
export const postSofCashRegisterAccount= (data) => {
    const url = yxglIp + '/sof-cash/register/account'
    return http(url, 'post', data)
}
//账单预览
export const getSofBillingOverview= (data) => {
    const url = yxglIp + '/sof-billing/overview'
    return http(url, 'get', data)
}
//账单列表
export const postSofBillingOverview= (data) => {
    const url = yxglIp + '/sof-billing/overview'
    return http(url, 'post', data)
}
//到账明细
export const getSofBillingAccountDetail= (data) => {
    const url = yxglIp + '/sof-billing/account/detail'
    return http(url, 'get', data)
}
//登记合同到账
export const postSofBillingRegisterAccount= (data) => {
    const url = yxglIp + '/sof-billing/register/account'
    return http(url, 'post', data)
}
//开票列表
export const getSofBillingFindInvoice= (data) => {
    const url = yxglIp + '/sof-billing/find/invoice'
    return http(url, 'get', data)
}
//待支付列表
export const postAccPayNotPay= (data) => {
    const url = fysqIp + '/acc-pay/not/pay'
    return http(url, 'post', data)
}
//待支付列表
export const postAccPayHasPay= (data) => {
    const url = fysqIp + '/acc-pay/has/pay'
    return http(url, 'post', data)
}
//待支付列表
export const putAccPayInsertPay= (data) => {
    const url = fysqIp + '/acc-pay/insert/pay'
    return http(url, 'put', data)
}
//开票登记
export const putInvoiceInforeate= (data) => {
    const url = yxglIp + '/invoice/info/create'
    return http(url, 'put', data)
}
//回款统计列表
export const postSofBillingAccountQuery= (data) => {
    const url = yxglIp + '/sof-billing/account/query'
    return http(url, 'post', data)
}